var app = angular.module('businessApp', []);

app.controller('businessController', function($scope, $http) {
	$scope.load=function(){
		$http.get(timestamp('qz/business/get/'+getQueryString("id"))).success( function(response) {
			$scope.business = response.data;
	   	});
	}
	$scope.load();
	$scope.refreshData=function(){
		$scope.load();
	}
   $scope.businessCancle=function(){
	   redirectUrl("manage/business/","list.jsp");
   }
});


